package com.situ.allaia.dao;

import com.situ.allaia.model.UserAddress;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserAddressDao {
    List<UserAddress> findByUserId(Integer userId);

    int deleteById(Integer id);

    int insert(UserAddress address);

    UserAddress findById(Integer id);

    int update(UserAddress record);
}
